package com.jade.store.wechat.service;

import com.jade.bss.base.customer.Customer;
import com.jade.bss.db.BaseFacade;
import com.jade.store.wechat.entity.WechatUser;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: JinYa 2009_jinya@163.com
 * Date: 2016-5-5
 * Time: 10:28
 * Version : 1.0
 * Remark:
 * History:
 */
public interface WechatUserFacade extends BaseFacade {
    List<WechatUser> synchronizeWxUser(Customer customer, String appid) throws  Exception;
    WechatUser getWxUser(String appid, String openId)  throws  Exception;
    WechatUser getWechatUser(String appid, String openId)  throws  Exception;
    WechatUser getWechatUser(String openId)  throws  Exception;
}
